package day0216;

public class Student {

    String name;

    int age;

    char gender;


    Student() {}

    Student(String n, int a, char g) {
        name = n;
        age = a;
        gender = g;
    }

    void say() {
        System.out.printf("我叫 %s, 今年 %d 岁了。是 %c 生. \n", name, age, gender);
    }
}
